#pragma once

class CTVStreamSourceVideoPin;
class CTVStreamSourceAudioPin;

class CTVStreamSourceVideoPin : public CTVStreamSourcePin
								//public CSourceSeeking
{
public:
    CTVStreamSourceVideoPin(HRESULT *phr, CSource *pFilter);
    ~CTVStreamSourceVideoPin();

public:
	//
	STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, void ** ppv);
	//IMediaSeeking
	virtual HRESULT ChangeStart();
    virtual HRESULT ChangeStop();
    virtual HRESULT ChangeRate();
	//
	HRESULT Active(void);
	//
protected:
	virtual HRESULT OnThreadStartPlay(void);
	virtual HRESULT OnThreadDestroy(void);
	virtual void	RawSync(LONGLONG start);
	//
protected:
	HRESULT SeekTime(REFERENCE_TIME rtPos);

	
};
